package com.heima.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 点位表
 * </p>
 *
 * @author author
 * @since 2024-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_node")
public class TbNode implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    /**
     * 点位名称
     */
    private String name;

    /**
     * 点位详细地址
     */
    private String addr;

    /**
     * 所在区域Id
     */
    private String areaCode;

    /**
     * 创建人id
     */
    private Integer createUserId;

    /**
     * 区域id
     */
    private Long regionId;

    /**
     * 商圈id
     */
    private Integer businessId;

    /**
     * 点位主Id
     */
    private Integer ownerId;

    /**
     * 点位主名称
     */
    private String ownerName;

    /**
     * 更改时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
